package com.pangda.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 线索表
 * </p>
 *
 * @author author
 * @since 2024-06-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("clue")
@ApiModel(value="Clue对象", description="线索表")
public class Clue implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "线索ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "渠道来源")
    private String channel;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "归属人")
    private String owner;

    @ApiModelProperty(value = "线索状态    1.代跟进 在线索中 2.跟进中 在线索中 3.捞回 4.在线索池 5.删除 6.转商机")
    private String status;

    @ApiModelProperty(value = "下次跟进时间")
    private LocalDateTime nextTime;

    @ApiModelProperty(value = "更新人")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "归属时间")
    private LocalDateTime ownerTime;

    @ApiModelProperty(value = "线索分配")
    private String assignBy;

    @ApiModelProperty(value = "错误次数")
    private Integer falseCount;

    @ApiModelProperty(value = "活动ID")
    private String activityId;

    @ApiModelProperty(value = "活动信息")
    private String activityInfo;

    @ApiModelProperty(value = "活动名称")
    private String activityName;

    @ApiModelProperty(value = "年龄")
    private Integer age;

    @ApiModelProperty(value = "分配时间")
    private LocalDateTime assignTime;

    @ApiModelProperty(value = "结束时间")
    private LocalDateTime endTime;

    @ApiModelProperty(value = "级别")
    private Integer level;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "QQ")
    private String qq;

    @ApiModelProperty(value = "性别")
    private String sex;

    @ApiModelProperty(value = "主题")
    private String subject;

    @ApiModelProperty(value = "转移")
    private String transfer;

    @ApiModelProperty(value = "用户ID")
    private Integer userId;

    @ApiModelProperty(value = "微信")
    private String weixin;

    @ApiModelProperty(value = "跟进状态")
    private Integer trackStatus;


}
